package com.xyf.sys.mapper;

import com.xyf.sys.domain.SysProductCategory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysProductCategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysProductCategory record);

    int insertSelective(SysProductCategory record);

    SysProductCategory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysProductCategory record);

    int updateByPrimaryKey(SysProductCategory record);

    List<SysProductCategory> selectAll();
}